export function setUser ({commit}, user) {
  commit('set-user', user)
}

export function setToken ({commit}, token) {
  commit('set-token', token)
}
export function setUserType ({commit}, userType) {
  commit('set-user-type',userType)
}
export function setUserInfo ({commit}, userInfo) {
  commit('set-user-info', userInfo)
}

export function setModules ({commit}, modules) {
  commit('set-modules', modules)
}

export function toggleNavbarCollapse ({commit}) {
  commit('navbar-collapse:toggle')
}


